let vm = null;
export const sendThis = (_this) => {
  vm = _this;
};
export const formItems = [
  {
    prop: "nickname",
    label: "粉丝昵称",
    placeholder: "请输入粉丝昵称昵称",
    lg: 6,
    otherOptions: {},
  },
  {
    prop: "status",
    label: "状态",
    type: "select",
    options: [],
    placeholder: "请选择",
    lg: 6,
    filterable: true,
    key: "value",
    value: "label",
    options: [
      {
        label: "待处理",
        value: 1,
      },
      {
        label: "已处理",
        value: 2,
      },
    ],
  },
  {
    prop: "created_at",
    label: "创建时间",
    lg: 10,
    type: "datetimerange",
    valueFormat: "x",
    otherOptions: {
      defaultTime: [
        new Date(2000, 1, 1, 0, 0, 0),
        new Date(2000, 1, 1, 23, 59, 59),
      ],
    },
  },
];
export const propList = [
  {
    label: "粉丝昵称",
    prop: "user.nickname",
  },
  {
    label: "粉丝ID",
    prop: "user.id",
  },
  {
    label: "手机号",
    prop: "phone",
    width: "128px",
  },
  {
    label: "内容",
    prop: "content",
    // width: "128px",
  },
  {
    label: "图片",
    slotName: "imgs",
    // width: "128px",

    // prop: 'type'
  },
  {
    label: "状态",
    slotName: "status",
    width: "128px",

    // prop: 'type'
  },
  {
    label: "回复内容",
    prop: "msg",

    // prop: 'type'
  },
  {
    label: "创建时间",
    prop: "created_at",
    // width: "160",
  },
  {
    label: "修改时间",
    prop: "updated_at",
    // width: "160",
  },
  {
    label: "操作",
    slotName: "op",
    fixed: "right",
    showOverflowTooltip: false,

    // width: "300",
  },
];
